<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<div id="app">
    <li v-for="(items,index ) in items">
        {{items.message}}---{{index}}
    </li>
</div>
<script src="vue.js"></script>
<script>
    var vm=new Vue({
        el: "#app",
        data: {
            items: [
                {message:'cljh学java'},
                {message:'cljh学前端'}
            ]

        }
    });
</script>
</body>
</html>